package test04;

public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        Student student1 = new Student();
        Student student2 = (Student) student1.clone();
        System.out.println(student1.m.money);
        System.out.println(student2.m.money);
        student2.m.money = 20;
        System.out.println(student1.m.money);
        System.out.println(student2.m.money);
    }
}
